package com.wang;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@EnableDubbo
@EnableAspectJAutoProxy
@ComponentScan("com.wang.*")
@MapperScan("com.wang.business.mapper")
public class DotoBusinessApplication {

    public static void main(String[] args) {
        SpringApplication.run(DotoBusinessApplication.class, args);
    }
}
